import random
daizis=[[],[],[]]
qius=["1","2","3","4","5","6","7","8","9"]
for qiu in qius:
    index=random.randint(0,2)
    daizis[index].append(qiu)

i=1
for daizi in daizis:
    print("袋子中%d的球数为：%d"%(i,len(daizi)))
    i+=1
    for qiu in daizi:
        print("%s"%qiu,end="\t")
    print("\n")
    print("-"*20)


print("daizis=")
print(daizis)